﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A5F RID: 2655
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LMBBCHNLHEK : IMessage<LMBBCHNLHEK>, IMessage, IEquatable<LMBBCHNLHEK>, IDeepCloneable<LMBBCHNLHEK>, IBufferMessage
	{
		// Token: 0x1700218F RID: 8591
		// (get) Token: 0x060076EF RID: 30447 RVA: 0x0013DD0B File Offset: 0x0013BF0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LMBBCHNLHEK> Parser
		{
			get
			{
				return LMBBCHNLHEK._parser;
			}
		}

		// Token: 0x17002190 RID: 8592
		// (get) Token: 0x060076F0 RID: 30448 RVA: 0x0013DD12 File Offset: 0x0013BF12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LMBBCHNLHEKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002191 RID: 8593
		// (get) Token: 0x060076F1 RID: 30449 RVA: 0x0013DD24 File Offset: 0x0013BF24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LMBBCHNLHEK.Descriptor;
			}
		}

		// Token: 0x060076F2 RID: 30450 RVA: 0x0013DD2B File Offset: 0x0013BF2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LMBBCHNLHEK()
		{
		}

		// Token: 0x060076F3 RID: 30451 RVA: 0x0013DD34 File Offset: 0x0013BF34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LMBBCHNLHEK(LMBBCHNLHEK other) : this()
		{
			this.aJKLOMDDOON_ = ((other.aJKLOMDDOON_ != null) ? other.aJKLOMDDOON_.Clone() : null);
			this.magicItem_ = ((other.magicItem_ != null) ? other.magicItem_.Clone() : null);
			this.costData_ = ((other.costData_ != null) ? other.costData_.Clone() : null);
			this.cOGDMNGBNLJ_ = other.cOGDMNGBNLJ_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060076F4 RID: 30452 RVA: 0x0013DDB8 File Offset: 0x0013BFB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LMBBCHNLHEK Clone()
		{
			return new LMBBCHNLHEK(this);
		}

		// Token: 0x17002192 RID: 8594
		// (get) Token: 0x060076F5 RID: 30453 RVA: 0x0013DDC0 File Offset: 0x0013BFC0
		// (set) Token: 0x060076F6 RID: 30454 RVA: 0x0013DDC8 File Offset: 0x0013BFC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData AJKLOMDDOON
		{
			get
			{
				return this.aJKLOMDDOON_;
			}
			set
			{
				this.aJKLOMDDOON_ = value;
			}
		}

		// Token: 0x17002193 RID: 8595
		// (get) Token: 0x060076F7 RID: 30455 RVA: 0x0013DDD1 File Offset: 0x0013BFD1
		// (set) Token: 0x060076F8 RID: 30456 RVA: 0x0013DDD9 File Offset: 0x0013BFD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepter MagicItem
		{
			get
			{
				return this.magicItem_;
			}
			set
			{
				this.magicItem_ = value;
			}
		}

		// Token: 0x17002194 RID: 8596
		// (get) Token: 0x060076F9 RID: 30457 RVA: 0x0013DDE2 File Offset: 0x0013BFE2
		// (set) Token: 0x060076FA RID: 30458 RVA: 0x0013DDEA File Offset: 0x0013BFEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData CostData
		{
			get
			{
				return this.costData_;
			}
			set
			{
				this.costData_ = value;
			}
		}

		// Token: 0x17002195 RID: 8597
		// (get) Token: 0x060076FB RID: 30459 RVA: 0x0013DDF3 File Offset: 0x0013BFF3
		// (set) Token: 0x060076FC RID: 30460 RVA: 0x0013DDFB File Offset: 0x0013BFFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool COGDMNGBNLJ
		{
			get
			{
				return this.cOGDMNGBNLJ_;
			}
			set
			{
				this.cOGDMNGBNLJ_ = value;
			}
		}

		// Token: 0x060076FD RID: 30461 RVA: 0x0013DE04 File Offset: 0x0013C004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LMBBCHNLHEK);
		}

		// Token: 0x060076FE RID: 30462 RVA: 0x0013DE14 File Offset: 0x0013C014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LMBBCHNLHEK other)
		{
			return other != null && (other == this || (object.Equals(this.AJKLOMDDOON, other.AJKLOMDDOON) && object.Equals(this.MagicItem, other.MagicItem) && object.Equals(this.CostData, other.CostData) && this.COGDMNGBNLJ == other.COGDMNGBNLJ && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060076FF RID: 30463 RVA: 0x0013DE8C File Offset: 0x0013C08C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aJKLOMDDOON_ != null)
			{
				num ^= this.AJKLOMDDOON.GetHashCode();
			}
			if (this.magicItem_ != null)
			{
				num ^= this.MagicItem.GetHashCode();
			}
			if (this.costData_ != null)
			{
				num ^= this.CostData.GetHashCode();
			}
			if (this.COGDMNGBNLJ)
			{
				num ^= this.COGDMNGBNLJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007700 RID: 30464 RVA: 0x0013DF0D File Offset: 0x0013C10D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007701 RID: 30465 RVA: 0x0013DF15 File Offset: 0x0013C115
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007702 RID: 30466 RVA: 0x0013DF20 File Offset: 0x0013C120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.costData_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.CostData);
			}
			if (this.COGDMNGBNLJ)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.COGDMNGBNLJ);
			}
			if (this.aJKLOMDDOON_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.AJKLOMDDOON);
			}
			if (this.magicItem_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.MagicItem);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007703 RID: 30467 RVA: 0x0013DFB4 File Offset: 0x0013C1B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aJKLOMDDOON_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AJKLOMDDOON);
			}
			if (this.magicItem_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MagicItem);
			}
			if (this.costData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CostData);
			}
			if (this.COGDMNGBNLJ)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007704 RID: 30468 RVA: 0x0013E030 File Offset: 0x0013C230
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LMBBCHNLHEK other)
		{
			if (other == null)
			{
				return;
			}
			if (other.aJKLOMDDOON_ != null)
			{
				if (this.aJKLOMDDOON_ == null)
				{
					this.AJKLOMDDOON = new ItemCostData();
				}
				this.AJKLOMDDOON.MergeFrom(other.AJKLOMDDOON);
			}
			if (other.magicItem_ != null)
			{
				if (this.magicItem_ == null)
				{
					this.MagicItem = new RogueMagicScepter();
				}
				this.MagicItem.MergeFrom(other.MagicItem);
			}
			if (other.costData_ != null)
			{
				if (this.costData_ == null)
				{
					this.CostData = new ItemCostData();
				}
				this.CostData.MergeFrom(other.CostData);
			}
			if (other.COGDMNGBNLJ)
			{
				this.COGDMNGBNLJ = other.COGDMNGBNLJ;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007705 RID: 30469 RVA: 0x0013E0F0 File Offset: 0x0013C2F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007706 RID: 30470 RVA: 0x0013E0FC File Offset: 0x0013C2FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 26U)
					{
						if (this.costData_ == null)
						{
							this.CostData = new ItemCostData();
						}
						input.ReadMessage(this.CostData);
						continue;
					}
					if (num == 48U)
					{
						this.COGDMNGBNLJ = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 114U)
					{
						if (this.aJKLOMDDOON_ == null)
						{
							this.AJKLOMDDOON = new ItemCostData();
						}
						input.ReadMessage(this.AJKLOMDDOON);
						continue;
					}
					if (num == 122U)
					{
						if (this.magicItem_ == null)
						{
							this.MagicItem = new RogueMagicScepter();
						}
						input.ReadMessage(this.MagicItem);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002D76 RID: 11638
		private static readonly MessageParser<LMBBCHNLHEK> _parser = new MessageParser<LMBBCHNLHEK>(() => new LMBBCHNLHEK());

		// Token: 0x04002D77 RID: 11639
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002D78 RID: 11640
		public const int AJKLOMDDOONFieldNumber = 14;

		// Token: 0x04002D79 RID: 11641
		private ItemCostData aJKLOMDDOON_;

		// Token: 0x04002D7A RID: 11642
		public const int MagicItemFieldNumber = 15;

		// Token: 0x04002D7B RID: 11643
		private RogueMagicScepter magicItem_;

		// Token: 0x04002D7C RID: 11644
		public const int CostDataFieldNumber = 3;

		// Token: 0x04002D7D RID: 11645
		private ItemCostData costData_;

		// Token: 0x04002D7E RID: 11646
		public const int COGDMNGBNLJFieldNumber = 6;

		// Token: 0x04002D7F RID: 11647
		private bool cOGDMNGBNLJ_;
	}
}
